<div class="oferta"> 
    <img width="165" height="113"  alt="" class="oferta_img" src="<?= img_url() ?>/p1.png" />
    <div class="oferta_details">
        <div class="oferta_title">Power Tools BST18XN Cordless</div>
        <div class="oferta_text"> Lorem ipsum dolor sit amet, consectetur adipisicing elit,
            sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
            Ut enim ad minim veniam, quis nostrud exercitation ullamco 
        </div>
        <a class="prod_buy" href="http://www.free-css.com/">details</a> 
    </div>
</div>
<div class="center_title_bar">Latest Products</div>


<?php foreach ($latesProduct as $p) {
    ?>
    <div class="prod_box">
        <div class="center_prod_box">
            <div class="product_title"><a href="http://www.free-css.com/"><?= $p['VendorID'] ?></a></div>
            <div class="product_img"><a href="http://www.free-css.com/"><img width="94" height="71" alt="" src="<?= img_url() ?>/p1.jpg"></a></div>
            <div class="prod_price"><span class="reduce">350$</span> <span class="price">270$</span></div>
        </div>
        <div class="prod_details_tab"> <a class="prod_buy" href="http://www.free-css.com/">Add to Cart</a> <a class="prod_details" href="<?= site_url()?>/home/detailProduct/<?= $p["ProductID"] ?>">Details</a> </div>
    </div>
<?php } ?>
        


